package com.weishenai.Entity;


import com.weishenai.Annotation.tableName;

/**
 * @Auther: weishenai
 * @Date: 2021/10/07/10:21
 * @Description:
 */

@tableName(value = "user_info")
public class UserInfo {
    private String id;
    private String name;
    private int age;
    private String sex;
    private String address;
    private String sickId;

    public UserInfo() {
    }

    public UserInfo(String id, String name, int age, String sex, String address, String sickId) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.address = address;
        this.sickId = sickId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getSickId() {
        return sickId;
    }

    public void setSickId(String sickId) {
        this.sickId = sickId;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                ", address='" + address + '\'' +
                ", sickId='" + sickId + '\'' +
                '}';
    }
}
